<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <button id="btn">点我换色</button>

  <!-- 引入requirejs,使用data-main指定入口文件 -->
  <script data-main="js/app.js" src="./js/lib/require.js"></script>
</body>
</html>